<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        /*行内元素特点：一行显示多个，宽度和高度由内容撑开， 设置宽高不生效，尺寸和内容大小相同*/
        span {
            width: 300px;
            height: 300px;
            background-color: pink;
        }
    </style>
</head>
<body>
<span>span</span>
<span>span</span>
<span>span</span>
</body>
</html>